$controls/header()$
$controls/navigation()$ $controls/tableheader(
Caption="论坛附件集列表",
ElementId="attachlist"
)$
<table cellspacing="0" class="inner">
<tr class="forumno">
<td>
<form name="AttachForm" id="AttachForm" method="GET" action="attachments.aspx">
<select id="inboards" onmousewheel="return false" name="inboards">
  <option value="-1">所有版面</option>
  $BoardStruct$
</select>
<select id="filter" name="filter">
  <option value="" selected="selected">所有类型</option>
  <option value="image">图片类</option>
  <option value="nonimage">非图片类</option>
</select>
<select id="column" name="column">
  <option value="uploadtime" selected="selected">按上传时间</option>
  <option value="downs">按被下载次数</option>
  <option value="attachsize">按附件大小</option>
</select>
<select id="sort" name="sort">
  <option value="desc" selected="selected">倒序</option>
  <option value="asc">顺序</option>
</select>
上传者：
<input id="uploader" title="需精确匹配" maxlength="40" name="uploader" style="width:90px;" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
<input type="submit" class="button" value=" 提  交 " /></form>
</td>
</tr>
</table>
<form name="AttachOperateForm" id="AttachOperateForm" method="POST" action="operate.aspx">
<input type="hidden" name="OPERATION" value="$Token$" />
<table cellspacing="0" class="inner">
<tr class="category forumtd">
$if(Page.User.IsAdmin)$
<td width="20"><input type="checkbox" name="checkall" id="checkall" class="smallbox" onclick="checkallbox(this)" /></td>
$endif$
<td align="left">附件名</td>
<td width="250">所在主题</td>
<td width="100">上传者</td>
<td width="80">附件大小</td>
<td width="80" style="text-align:center">下载次数</td>
<td width="120" style="text-align:right">上传时间</td>
</tr>
$Attachs:{a|
<tr class="forumtd">
$if(Page.User.IsAdmin)$
<td><input type="checkbox" name="attachids" id="attachids" class="smallbox" value="$a.Id$" /></td>
$endif$
<td align="left">
<img src="images/icon/$a.AttachTypeIcon$" />&nbsp;
<a href="{url:attach.aspx?id=$a.Id$}" target="_blank">$a.AttachName$</a></td>
<td>
$if(a.Deleted)$
<font color="#888888">-- 该主题已被删除 --<font>
$else$
<a href="{url:topic.aspx?topicid=$a.TopicId$}">$a.Title$</a>
$endif$
</td>
<td><a href="{url:profile.aspx?uid=$a.UID$}">$a.Username$</a></td>
<td class="small">$a.AttachSize$</td>
<td class="small" style="text-align:center">
$if(a.IsImage)$
---
$else$
$a.Downloads$
$endif$
</td>
<td class="small t1" style="text-align:right">$a.UploadTime$</td>
</tr>
}$
$if(Page.User.IsAdmin)$
<tr class="forumtd">
<td class="small" align="left" colspan="7"><input type="submit" value=" 删除选中 " class="button" onClick="return confirm('将要删除选中的记录和对应附件文件，确定吗？')" />
</td>
</tr>
$endif$
</table>
</form>
$controls/tablefooter()$
$Pager$
<select id='boardjump' name='boardjump' onmousewheel='return false' onchange='jump(this)'>
	<option value='-1' selected='selected'>论坛快速跳转...</option>
    $BoardStruct$
</select>
$controls/footer()$